﻿namespace Traffic.Entity;

/// <summary>
/// 业务分类商品模板
/// </summary>
public partial class ScopeGoodsModel
{
    public int Id { get; set; }

    /// <summary>
    /// 商户ID，对应Business.ID
    /// </summary>
    public int BusinessId { get; set; }

    /// <summary>
    /// 业务大类ID  ，对应ScopeType.ID
    /// </summary>
    public int TypeId { get; set; }

    /// <summary>
    /// 分类ID
    /// </summary>
    public int ClassifyId { get; set; }

    /// <summary>
    /// 是否默认接送  0：否（默认）  1：是
    /// </summary>
    public bool IsPickup { get; set; }

    /// <summary>
    /// 业务名称
    /// </summary>
    public string? ScopeName { get; set; }

    /// <summary>
    /// 最大人数
    /// </summary>
    public int MaxMember { get; set; }

    /// <summary>
    /// 时间类型  0：时间段内均可购买   1：时间段内为购买期，EndDate为服务供给日期，如旅游。
    /// </summary>
    public int TimeType { get; set; }

    /// <summary>
    /// 需提早预订的天数
    /// </summary>
    public int EarlierDay { get; set; }

    /// <summary>
    /// 成人价
    /// </summary>
    public decimal AdultPrice { get; set; }

    /// <summary>
    /// 儿童价
    /// </summary>
    public decimal ChildPrice { get; set; }

    /// <summary>
    /// 婴儿价格
    /// </summary>
    public decimal BabyPrice { get; set; }

    /// <summary>
    /// 商品描述
    /// </summary>
    public string? Description { get; set; }

    /// <summary>
    /// 商品网页介绍内容
    /// </summary>
    public string? ScopeContent { get; set; }

    /// <summary>
    /// 商品首图片
    /// </summary>
    public string? GoodsLogoUrl { get; set; }

    /// <summary>
    /// 备注
    /// </summary>
    public string? Remarks { get; set; }

    /// <summary>
    /// 状态  0：停用  1：正常（默认）
    /// </summary>
    public bool Status { get; set; }
}
